<template>
  <div>
     <div class="header">
      <router-link to="/personal"><i class="iconfont icon-fanhui"></i></router-link>
      更多游戏
    </div>
    <div class="wrapBox">
      <div class="ranking-nav-bar">
        <ul class="swiper-wrapper">
          <li class="swiper-slide active">
            <a href=""> 现金卷 </a>
          </li>
          <li class="swiper-slide"><a href="">我的现金券</a></li>
        </ul>
      </div>
    </div>
    <welfare :img-list="img" />
  </div>
</template>

<script>
import axios from "axios";
import welfare from "../components/welfare.vue";
export default {
  data() {
    return {
      img: null,
    };
  },
  created() {
    axios.post("/dl/wap/getXjqHome").then((res) => {
      this.img = res.data.result.dataList;
      console.log(this.img);
    });
  },
  components: {
    welfare,
  },
};
</script>
<style src="../assets/css/Coupons.css" scoped></style>